<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>配送商提现</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="刘代应">
	<meta name="hashcode" content="-1830597781">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/admin/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/admin/js/jquery-1.7.1.min.js"></script>
	
	<script type="text/javascript" src="/admin/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/admin//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<script type="text/javascript" src="/admin/js/jquery-ui-1.10.2.custom.min.js"></script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/admin/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/admin/css/define.css"/>
	<!-- icon font -->
  	<link rel="stylesheet" href="/admin/css/iconfont.css">
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "-1830597781";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/admin/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/admin/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("distributorcash.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		document.title={
  			 "insert":"创建配送商提现"
  			,"inport":"导入配送商提现"
  			,"update":"修改配送商提现"
  			,"detail":"配送商提现详情"
  			
  			
			,"methodok":"提现审核"
			
			
  		}[options.edittype];
  		THIS.setData(protocol.data); 
  		
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>

<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#distributorcashForm").form({
		"":function(){}
		,"distributorCash.id":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"distributorCash.distributor":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"distributorCash.contacts":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "联系人不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "联系人最大长度为32个字符";
		}
		,"distributorCash.mobile":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "手机号不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "手机号最大长度为32个字符";
		}
		,"distributorCash.money":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "申请金额输入格式错误";
		}
		,"distributorCash.alipayName":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "支付宝名称不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "支付宝名称最大长度为32个字符";
		}
		,"distributorCash.alipayNo":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "支付宝账号不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "支付宝账号最大长度为32个字符";
		}
		,"distributorCash.callNo":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "打款编号最大长度为32个字符";
		}
		,"distributorCash.approvalStatus":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择打款状态";
			}
		}
		,"distributorCash.erroLog":function(el){
			if(el.value.length>2000 && el.value.indexOf("[*]")==-1)
				return "日志最大长度为2000个字符";
		}
		,"distributorCash.liyou":function(el){
			if(el.value.length>128 && el.value.indexOf("[*]")==-1)
				return "拒绝理由最大长度为128个字符";
		}
		,"distributorCash.updateTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "修改时间不能为空";
			}
		}
		,"distributorCash.addTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "添加时间不能为空";
			}
		}
		,"distributorCash.status":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择状态";
			}
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>
 
<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>




<form enctype="{{inports!=null?'multipart/form-data':''}}" lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'||edittype=='inport'}}" class="form editform edittype_{{edittype}}" ref="DistributorCash" id="distributorcashForm" name="distributorcashForm" target="jsoniframe" action="distributorcash.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt" style="display:none;">
				温馨提示：请仔细填写配送商提现相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
			
			
			<lz:block lz:if="{{inports}}">
			  <div class="line"></div>
			  <dl style="width:98%;">
			  	<dt>Excel文件:</dt>
			  	<dd>
			  		<input type="hidden" value="{{inports}}" name="inports" id="inports" />
			  		<input type="hidden" value="{{inport$}}" name="inport$" id="inport$" />
			  		<input name="file" name="file" type="file"/>
			  		<b>*</b>
			  		<div>
						请上传excel文件，表格列依次为：[{{inport$}}]，excel表格第一行为列名称，将不作为上传数据行
					</div>
			  	</dd>
			  </dl>
			  <div class="line"></div>
			</lz:block>
			
			
					
	{{lz.set("id_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"id"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"id"))))}}
	{{lz.set("id_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$id}}
	<dl lz:if="{{id_editable||id_readonly}}" class="id hidden " major  ref="id">
		<dt>编　　号:</dt>
		<dd lz:if="{{id_editable}}" input="hidden">
			<lz:block lz:if="{{distributorCash$id}}">
				{{distributorCash$id}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$id}}">
			<input type="hidden" value="{{lz.htm(distributorCash.id)}}" name="distributorCash.id" id="id" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{id_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="id">{{distributorCash.id}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.id$||distributorCash.id)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$id}}
					
	{{lz.set("distributor_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"distributor"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"distributor"))))}}
	{{lz.set("distributor_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$distributor}}
	<dl lz:if="{{distributor_editable||distributor_readonly}}" class="distributor  " major  ref="distributor">
		<dt>配 送 商:</dt>
		<dd lz:if="{{distributor_editable}}" input="query">
			<lz:block lz:if="{{distributorCash$distributor}}">
				{{distributorCash$distributor}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$distributor}}">
		 			<input title="请输入配送商信息手机号进行查询" class="combox narrow" action="/admin/delivery/distributor.query.do?value={param}" type="text" id="distributor" name="distributorCash.distributor" text="{{lz.html(distributorCash.distributor$||distributorCash.distributor)}}" value="{{lz.htm(distributorCash.distributor)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#distributor').val())==''){return;};window.href('/admin/delivery/distributor.detail.html?key='+$('#distributor').val())"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{distributor_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="distributor">{{distributorCash.distributor}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/delivery/distributor.details.html?key=distributorCash.distributor}')">
			 {{lz.html(distributorCash.distributor$||distributorCash.distributor)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$distributor}}
					
	{{lz.set("name_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"name"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"name"))))}}
	{{lz.set("name_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$name}}
	<dl lz:if="{{name_editable||name_readonly}}" class="ribs name  " major  ref="name">
		<dt>配送商名称:</dt>
		<dd lz:if="{{name_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$name}}">
				{{distributorCash$name}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$name}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.name" id="name"  value="{{lz.htm(distributorCash.name)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的配送商名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{name_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="name">{{distributorCash.name}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.name$||distributorCash.name)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$name}}
					
	{{lz.set("contacts_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"contacts"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"contacts"))))}}
	{{lz.set("contacts_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$contacts}}
	<dl lz:if="{{contacts_editable||contacts_readonly}}" class="contacts  " major  ref="contacts">
		<dt>联 系 人:</dt>
		<dd lz:if="{{contacts_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$contacts}}">
				{{distributorCash$contacts}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$contacts}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.contacts" id="contacts"  value="{{lz.htm(distributorCash.contacts)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商提现的联系人</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{contacts_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="contacts">{{distributorCash.contacts}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.contacts$||distributorCash.contacts)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$contacts}}
					
	{{lz.set("mobile_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"mobile"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"mobile"))))}}
	{{lz.set("mobile_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$mobile}}
	<dl lz:if="{{mobile_editable||mobile_readonly}}" class="mobile  " major  ref="mobile">
		<dt>手 机 号:</dt>
		<dd lz:if="{{mobile_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$mobile}}">
				{{distributorCash$mobile}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$mobile}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.mobile" id="mobile"  value="{{lz.htm(distributorCash.mobile)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商提现的手机号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{mobile_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="mobile">{{distributorCash.mobile}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.mobile$||distributorCash.mobile)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$mobile}}
					
	{{lz.set("money_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"money"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"money"))))}}
	{{lz.set("money_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$money}}
	<dl lz:if="{{money_editable||money_readonly}}" class="money  " major  ref="money">
		<dt>申请金额:</dt>
		<dd lz:if="{{money_editable}}" input="menoy">
			<lz:block lz:if="{{distributorCash$money}}">
				{{distributorCash$money}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$money}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="distributorCash.money" id="money"  value="{{lz.htm(distributorCash.money)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商提现的申请金额</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{money_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="money">{{distributorCash.money}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.money$||distributorCash.money)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$money}}
					
	{{lz.set("alipayName_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"alipayName"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"alipayName"))))}}
	{{lz.set("alipayName_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$alipayName}}
	<dl lz:if="{{alipayName_editable||alipayName_readonly}}" class="alipayName  " major  ref="alipayName">
		<dt>支付宝名称:</dt>
		<dd lz:if="{{alipayName_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$alipayName}}">
				{{distributorCash$alipayName}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$alipayName}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.alipayName" id="alipayName"  value="{{lz.htm(distributorCash.alipayName)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商提现的支付宝名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{alipayName_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="alipayName">{{distributorCash.alipayName}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.alipayName$||distributorCash.alipayName)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$alipayName}}
					
	{{lz.set("alipayNo_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"alipayNo"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"alipayNo"))))}}
	{{lz.set("alipayNo_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$alipayNo}}
	<dl lz:if="{{alipayNo_editable||alipayNo_readonly}}" class="alipayNo  " major  ref="alipayNo">
		<dt>支付宝账号:</dt>
		<dd lz:if="{{alipayNo_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$alipayNo}}">
				{{distributorCash$alipayNo}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$alipayNo}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.alipayNo" id="alipayNo"  value="{{lz.htm(distributorCash.alipayNo)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商提现的支付宝账号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{alipayNo_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="alipayNo">{{distributorCash.alipayNo}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.alipayNo$||distributorCash.alipayNo)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$alipayNo}}
					
	{{lz.set("callNo_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"callNo"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"callNo"))))}}
	{{lz.set("callNo_readonly",(edittype=='insert'&&true)||(edittype=='update'&&true)||(edittype=='detail'))}}
				
	
	{{before$callNo}}
	<dl lz:if="{{callNo_editable||callNo_readonly}}" class="callNo  " minor  ref="callNo">
		<dt>打款编号:</dt>
		<dd lz:if="{{callNo_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$callNo}}">
				{{distributorCash$callNo}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$callNo}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.callNo" id="callNo"  value="{{lz.htm(distributorCash.callNo)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的打款编号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{callNo_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="callNo">{{distributorCash.callNo}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.callNo$||distributorCash.callNo)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$callNo}}
					
	{{lz.set("approvalStatus_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"approvalStatus"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"approvalStatus"))))}}
	{{lz.set("approvalStatus_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$approvalStatus}}
	<dl lz:if="{{approvalStatus_editable||approvalStatus_readonly}}" class="approvalStatus  " major  ref="approvalStatus">
		<dt>打款状态:</dt>
		<dd lz:if="{{approvalStatus_editable}}" input="select">
			<lz:block lz:if="{{distributorCash$approvalStatus}}">
				{{distributorCash$approvalStatus}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$approvalStatus}}">
		 	<select class="narrow" id="approvalStatus" name="distributorCash.approvalStatus">
		 		<option value="">请选择</option>
				<option value="1" selected='{{distributorCash.approvalStatus=="1"?"selected":""}}'>审核中</option>
				<option value="2" selected='{{distributorCash.approvalStatus=="2"?"selected":""}}'>已打款</option>
				<option value="3" selected='{{distributorCash.approvalStatus=="3"?"selected":""}}'>拒绝</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择配送商提现的打款状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{approvalStatus_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="approvalStatus">{{distributorCash.approvalStatus}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.approvalStatus$||distributorCash.approvalStatus)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$approvalStatus}}
					
	{{lz.set("erroLog_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"erroLog"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"erroLog"))))}}
	{{lz.set("erroLog_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$erroLog}}
	<dl lz:if="{{erroLog_editable||erroLog_readonly}}" class="ribs erroLog   mider" minor  ref="erroLog">
		<dt>日　　志:</dt>
		<dd lz:if="{{erroLog_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$erroLog}}">
				{{distributorCash$erroLog}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$erroLog}}">
		 	<input type="text" class="input mide"  maxlength="2000" name="distributorCash.erroLog" id="erroLog"  value="{{lz.htm(distributorCash.erroLog)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的日志</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{erroLog_readonly}}">
		 	<div class="state-input mide">
		 		<textarea class=""  style="display:none;" id="erroLog">{{distributorCash.erroLog}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.erroLog$||distributorCash.erroLog)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$erroLog}}
					
	{{lz.set("liyou_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"liyou"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"liyou"))))}}
	{{lz.set("liyou_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$liyou}}
	<dl lz:if="{{liyou_editable||liyou_readonly}}" class="ribs liyou   wider" major  ref="liyou">
		<dt>拒绝理由:</dt>
		<dd lz:if="{{liyou_editable}}" input="textarea">
			<lz:block lz:if="{{distributorCash$liyou}}">
				{{distributorCash$liyou}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$liyou}}">
		 	<textarea class="input wide"  id="liyou" name="distributorCash.liyou" rows="5">{{distributorCash.liyou}}</textarea>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的拒绝理由</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{liyou_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(distributorCash.liyou$||distributorCash.liyou)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$liyou}}
					
	{{lz.set("updateTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"updateTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"updateTime"))))}}
	{{lz.set("updateTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$updateTime}}
	<dl lz:if="{{updateTime_editable||updateTime_readonly}}" class="updateTime  " major  ref="updateTime">
		<dt>修改时间:</dt>
		<dd lz:if="{{updateTime_editable}}" input="datetime">
			<lz:block lz:if="{{distributorCash$updateTime}}">
				{{distributorCash$updateTime}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$updateTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="distributorCash.updateTime" id="updateTime"  value="{{distributorCash.updateTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择配送商提现的修改时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{updateTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="updateTime">{{distributorCash.updateTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.updateTime$||distributorCash.updateTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$updateTime}}
					
	{{lz.set("addTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"addTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"addTime"))))}}
	{{lz.set("addTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$addTime}}
	<dl lz:if="{{addTime_editable||addTime_readonly}}" class="addTime  " major  ref="addTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{addTime_editable}}" input="datetime">
			<lz:block lz:if="{{distributorCash$addTime}}">
				{{distributorCash$addTime}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$addTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="distributorCash.addTime" id="addTime"  value="{{distributorCash.addTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择配送商提现的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{addTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="addTime">{{distributorCash.addTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.addTime$||distributorCash.addTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$addTime}}
					
	{{lz.set("status_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"status"))))&&false)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"status"))))}}
	{{lz.set("status_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$status}}
	<dl lz:if="{{status_editable||status_readonly}}" class="status  " major  ref="status">
		<dt>状　　态:</dt>
		<dd lz:if="{{status_editable}}" input="select">
			<lz:block lz:if="{{distributorCash$status}}">
				{{distributorCash$status}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$status}}">
		 	<select class="narrow" id="status" name="distributorCash.status">
		 		<option value="">请选择</option>
				<option value="1" selected='{{distributorCash.status=="1"?"selected":""}}'>正常</option>
				<option value="0" selected='{{distributorCash.status=="0"?"selected":""}}'>无效</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择配送商提现的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{status_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="status">{{distributorCash.status}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.status$||distributorCash.status)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$status}}
			
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{distributorCash.id}}" name="distributorCash.id" id="id" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'||edittype=='inport'}}">
				<button class="button" type="submit">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				
				
					
						
					<lz:block lz:if="{{true && distributorCash.approvalStatus==1}}">
						
						<button lz:if="{{canExp[0]==true}}" type="button" class="button" onclick='window.location.href="/admin/delivery/distributorcash.edit.html?id={{distributorCash.id}}&edittype=methodok"'>
							提现审核
						</button>
						
					</lz:block>
						
					
				
				
				
				
				
				
				
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/delivery/distributorcash.edit.html?edittype=update&id={{distributorCash.id}}"'>
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					修改&nbsp;&nbsp;</button>
				
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>



	
{{lz.set("form_methodok_test",(true  && distributorCash.approvalStatus==1))}}
	
<form lz:if="{{form_methodok_test && edittype=='methodok'}}" class="form editform"  ref="DistributorCash" id="distributorcashForm" name="distributorcashForm" target="jsoniframe" action="distributorcash.{{edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt">
				温馨提示：请仔细填写配送商提现相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			
			
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />		
			<input type="hidden" value="{{edittype}}" name="edittype" id="edittype" />
			<input type="hidden" value="{{method}}" name="method" id="method" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
				
			
	{{lz.set("distributor_editable",false)}}
	{{lz.set("distributor_readonly",true)}}
				
	
	{{before$distributor}}
	<dl lz:if="{{distributor_editable||distributor_readonly}}" class="ribs distributor  " minor  ref="distributor">
		<dt>配 送 商:</dt>
		<dd lz:if="{{distributor_editable}}" input="query">
			<lz:block lz:if="{{distributorCash$distributor}}">
				{{distributorCash$distributor}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$distributor}}">
		 			<input title="请输入配送商信息手机号进行查询" class="combox narrow" action="/admin/delivery/distributor.query.do?value={param}" type="text" id="distributor" name="distributorCash.distributor" text="{{lz.html(distributorCash.distributor$||distributorCash.distributor)}}" value="{{lz.htm(distributorCash.distributor)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#distributor').val())==''){return;};window.href('/admin/delivery/distributor.detail.html?key='+$('#distributor').val())"></a>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{distributor_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="distributor">{{distributorCash.distributor}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/delivery/distributor.details.html?key=distributorCash.distributor}')">
			 {{lz.html(distributorCash.distributor$||distributorCash.distributor)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$distributor}}
			
	{{lz.set("contacts_editable",false)}}
	{{lz.set("contacts_readonly",true)}}
				
	
	{{before$contacts}}
	<dl lz:if="{{contacts_editable||contacts_readonly}}" class="ribs contacts  " major  ref="contacts">
		<dt>联 系 人:</dt>
		<dd lz:if="{{contacts_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$contacts}}">
				{{distributorCash$contacts}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$contacts}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.contacts" id="contacts"  value="{{lz.htm(distributorCash.contacts)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的联系人</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{contacts_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="contacts">{{distributorCash.contacts}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.contacts$||distributorCash.contacts)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$contacts}}
			
	{{lz.set("mobile_editable",false)}}
	{{lz.set("mobile_readonly",true)}}
				
	
	{{before$mobile}}
	<dl lz:if="{{mobile_editable||mobile_readonly}}" class="ribs mobile  " major  ref="mobile">
		<dt>手 机 号:</dt>
		<dd lz:if="{{mobile_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$mobile}}">
				{{distributorCash$mobile}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$mobile}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.mobile" id="mobile"  value="{{lz.htm(distributorCash.mobile)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的手机号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{mobile_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="mobile">{{distributorCash.mobile}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.mobile$||distributorCash.mobile)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$mobile}}
			
	{{lz.set("money_editable",false)}}
	{{lz.set("money_readonly",true)}}
				
	
	{{before$money}}
	<dl lz:if="{{money_editable||money_readonly}}" class="ribs money  " major  ref="money">
		<dt>申请金额:</dt>
		<dd lz:if="{{money_editable}}" input="menoy">
			<lz:block lz:if="{{distributorCash$money}}">
				{{distributorCash$money}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$money}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="distributorCash.money" id="money"  value="{{lz.htm(distributorCash.money)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的申请金额</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{money_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="money">{{distributorCash.money}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.money$||distributorCash.money)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$money}}
			
	{{lz.set("alipayName_editable",false)}}
	{{lz.set("alipayName_readonly",true)}}
				
	
	{{before$alipayName}}
	<dl lz:if="{{alipayName_editable||alipayName_readonly}}" class="ribs alipayName  " minor  ref="alipayName">
		<dt>支付宝名称:</dt>
		<dd lz:if="{{alipayName_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$alipayName}}">
				{{distributorCash$alipayName}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$alipayName}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.alipayName" id="alipayName"  value="{{lz.htm(distributorCash.alipayName)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的支付宝名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{alipayName_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="alipayName">{{distributorCash.alipayName}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.alipayName$||distributorCash.alipayName)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$alipayName}}
			
	{{lz.set("alipayNo_editable",false)}}
	{{lz.set("alipayNo_readonly",true)}}
				
	
	{{before$alipayNo}}
	<dl lz:if="{{alipayNo_editable||alipayNo_readonly}}" class="ribs alipayNo  " minor  ref="alipayNo">
		<dt>支付宝账号:</dt>
		<dd lz:if="{{alipayNo_editable}}" input="text">
			<lz:block lz:if="{{distributorCash$alipayNo}}">
				{{distributorCash$alipayNo}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$alipayNo}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributorCash.alipayNo" id="alipayNo"  value="{{lz.htm(distributorCash.alipayNo)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商提现的支付宝账号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{alipayNo_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="alipayNo">{{distributorCash.alipayNo}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.alipayNo$||distributorCash.alipayNo)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$alipayNo}}
			
	{{lz.set("approvalStatus_editable",false)}}
	{{lz.set("approvalStatus_readonly",true)}}
				
	
	{{before$approvalStatus}}
	<dl lz:if="{{approvalStatus_editable||approvalStatus_readonly}}" class="ribs approvalStatus  " major  ref="approvalStatus">
		<dt>打款状态:</dt>
		<dd lz:if="{{approvalStatus_editable}}" input="select">
			<lz:block lz:if="{{distributorCash$approvalStatus}}">
				{{distributorCash$approvalStatus}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$approvalStatus}}">
		 	<select class="narrow" id="approvalStatus" name="distributorCash.approvalStatus">
		 		<option value="">请选择</option>
				<option value="1" selected='{{distributorCash.approvalStatus=="1"?"selected":""}}'>审核中</option>
				<option value="2" selected='{{distributorCash.approvalStatus=="2"?"selected":""}}'>已打款</option>
				<option value="3" selected='{{distributorCash.approvalStatus=="3"?"selected":""}}'>拒绝</option>
		 	</select>
	 	 </lz:block>
	 	 
	 	 <em>请选择配送商提现的打款状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{approvalStatus_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="approvalStatus">{{distributorCash.approvalStatus}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.approvalStatus$||distributorCash.approvalStatus)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$approvalStatus}}
			
	{{lz.set("liyou_editable",true)}}
	{{lz.set("liyou_readonly",false)}}
				
	
	{{before$liyou}}
	<dl lz:if="{{liyou_editable||liyou_readonly}}" class="liyou   wider" major  ref="liyou">
		<dt>拒绝理由:</dt>
		<dd lz:if="{{liyou_editable}}" input="textarea">
			<lz:block lz:if="{{distributorCash$liyou}}">
				{{distributorCash$liyou}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$liyou}}">
		 	<textarea class="input wide"  id="liyou" name="distributorCash.liyou" rows="5">{{distributorCash.liyou}}</textarea>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商提现的拒绝理由</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{liyou_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(distributorCash.liyou$||distributorCash.liyou)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$liyou}}
			
	{{lz.set("addTime_editable",false)}}
	{{lz.set("addTime_readonly",true)}}
				
	
	{{before$addTime}}
	<dl lz:if="{{addTime_editable||addTime_readonly}}" class="addTime  " minor  ref="addTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{addTime_editable}}" input="datetime">
			<lz:block lz:if="{{distributorCash$addTime}}">
				{{distributorCash$addTime}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$addTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="distributorCash.addTime" id="addTime"  value="{{distributorCash.addTime$}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请选择配送商提现的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{addTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="addTime">{{distributorCash.addTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.addTime$||distributorCash.addTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$addTime}}
			
	{{lz.set("status_editable",false)}}
	{{lz.set("status_readonly",true)}}
				
	
	{{before$status}}
	<dl lz:if="{{status_editable||status_readonly}}" class="status  " major  ref="status">
		<dt>状　　态:</dt>
		<dd lz:if="{{status_editable}}" input="select">
			<lz:block lz:if="{{distributorCash$status}}">
				{{distributorCash$status}}
			</lz:block>
			<lz:block lz:if="{{!distributorCash$status}}">
		 	<select class="narrow" id="status" name="distributorCash.status">
		 		<option value="">请选择</option>
				<option value="1" selected='{{distributorCash.status=="1"?"selected":""}}'>正常</option>
				<option value="0" selected='{{distributorCash.status=="0"?"selected":""}}'>无效</option>
		 	</select>
	 	 </lz:block>
	 	 
	 	 <em>请选择配送商提现的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{status_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="status">{{distributorCash.status}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributorCash.status$||distributorCash.status)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$status}}
			
			
			<div class="line"></div>
			<center class="buttons">
				<input type="hidden" value="{{distributorCash.id}}" name="distributorCash.id" id="id" />
				
							
					<button class="button" type="submit" name="distributorCash.approvalStatus" value="2">
					
					&nbsp;&nbsp;通过&nbsp;&nbsp;</button>
							
					<button class="button" type="submit" name="distributorCash.approvalStatus" value="3">
					
					&nbsp;&nbsp;不通过&nbsp;&nbsp;</button>
					
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel()" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭窗口&nbsp;&nbsp;</button>
			</center>
			<br/>
			
		</div>	
	</div>
	<div class="foot"></div>		
</form>
	
<div lz:if="{{!form_methodok_test && edittype=='methodok'}}" class="form editform">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<br/>
			<center>
				<font color="red"><h4>当前流程不在'提现审核'</h4></font>
			</center>
			<br/>
		</div>
	</div>
</div>
	



 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>
	
	$(function(){
		if(parent.setit){
			parent.setit("/admin/delivery/distributorcash.edit.html",document.title,"/admin//images/icons/20088256422923477803.png");
		}
	});
	
	function cancel(){
		if(parent.closeHref){
			parent.closeHref("/admin/delivery/distributorcash.edit.html");
		}else{
			$.closeModalDialog();
		}
	}



</script>
</html>